import request from '@/utils/request';

/**
 * 用户登录api 列子
 * @param loginParams 用户登录参数
 * @returns
 */
export const userLogin = (loginParams: unknown) => {
  return request({
    method: 'post',
    url: '/api/login',
    data: loginParams
  });
};